package 富婆梦.第一阶段.第五周.练习题;

/**
 * @ProjectName: java-learning
 * @Package: 富婆梦.第一阶段.第五周
 * @ClassName: Father
 * @Author: hemengjin
 * @Description: 验证第九章内容疑惑点，父类
 * @Date:2021/8/16 17:08
 * @Version: 1.0
 */
public class Father {
    private Father(String s){
        System.out.println("我是父类的私有构造函数，谁都别想继承我");
    }
    public Father(int i){
        System.out.println("这是父类的第2个构造函数！");
    }

    public final void testFinal1(){

    }
    public void testFinal2(){

    }

    public static void main(String[] args) {
        Father f = new Father("a");
    }
}
